<?
/**
 * <b>Hli_CollectionType Class</b>
 * Published 21/12/2010 03:45:13
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 2.0.4.342.
 * @internal It's not recommended at all to modify this code.
 */
class Hli_CollectionType extends Hli_Serializer{
	public $data=array();
	private $__collectionDateTime=NULL;

   /**
    * Constructor
    */
	public function  __construct(){
		parent::__construct();
	}

	/**
    * Gets the contact type
    *
	 * @method getContactType
	 * @return Hli_ContactType
	 */
	public function getContactType(){
		return($this->data["ContactType"]);
	}

	/**
    * Sets the contact type.
    *
	 * @method setContactType
	 * @param Hli_ContactType
	 * @return void
	 */
	public function setContactType(Hli_ContactType $obj){
		$this->data["ContactType"]=$obj;
	}

	/**
    * Gets the contact.
    *
	 * @method getContact
	 * @return Hli_ContactType
	 */
	public function getContact(){
		return($this->data["ContactType"]);
	}
	/**
    * Sets the contact.
    *
	 * @method setContact
	 * @param Hli_ContactType
	 * @return void
	 */
	public function setContact(Hli_ContactType $obj){
		$this->data["ContactType"]=$obj;
	}

	/**
    * Gets the collection
    *
	 * @method getCollectionDateTime
	 * @return long
	 */
	public function getCollectionDateTime(){
		return($this->__collectionDateTime);
	}

	/**
    * Sets the collection date time
    *
	 * @method setCollectionDateTime
	 * @param long
	 * @return void
	 */
	public function setCollectionDateTime($datetime){
		$this->__collectionDateTime=$datetime;
		$this->data["CollectionDate"]=date("d/m/Y",$datetime);
		$this->data["CollectionTime"]=date("H:i",$datetime);
	}
}
?>
